export type BorderType = 'angled' | 'rounded' | 'waves';

//后端全局响应
export interface GlobalResp {
    code: number;
    data?: any;
    msg?: string;
    status: number;
}

//文章详情
export interface PostDetail {
    cid: number;
    title: string;
    datetime: string;
    views: number;
    from: string;
    content: string;
}

//文章简介列表项
export interface PostBrief {
    pid: number;
    title: string;
    desc: string;
    datetime: string;
    views: number;
    imgUrl: string;
}

//分页信息
export interface PageInfo {
    currentPage: number;
    rows: number;
    perPage?: number;
}
